package org.i1510.wx.po;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;


@Entity
@Table(name = "WX_MENU")
public class WxMenu implements java.io.Serializable {
	private String docId;
	private String docSubject;
	private String docStatus;
	private String docCreator;
	private String docCreateTime;
	private String docLastor;
	private String docLastTime;
	
	/**
	 * 关联公众号
	 */
	private String wxPublicId; 
	/**
	 * 菜单json
	 */
	private String menuJson;
	/**
	 * 版本
	 */
	private String version;
	
	@Column(name = "wx_public_id",  length = 36)
	public String getWxPublicId() {
		return wxPublicId;
	}

	public void setWxPublicId(String wxPublicId) {
		this.wxPublicId = wxPublicId;
	}

	@Column(name = "menu_json",  length = 36)
	public String getMenuJson() {
		return menuJson;
	}

	public void setMenuJson(String menuJson) {
		this.menuJson = menuJson;
	}

	@Column(name = "version",  length = 36)
	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public WxMenu() {
	}

	@Id
	@Column(name = "doc_id", nullable = false, length = 36)
	public String getDocId() {
		return docId;
	}

	public void setDocId(String docId) {
		this.docId = docId;
	}

	@Column(name = "doc_subject",  length = 100)
	public String getDocSubject() {
		return docSubject;
	}

	public void setDocSubject(String docSubject) {
		this.docSubject = docSubject;
	}

	@Column(name = "doc_status",  length = 2)
	public String getDocStatus() {
		return docStatus;
	}

	public void setDocStatus(String docStatus) {
		this.docStatus = docStatus;
	}

	@Column(name = "doc_creator",  length = 36)
	public String getDocCreator() {
		return docCreator;
	}

	public void setDocCreator(String docCreator) {
		this.docCreator = docCreator;
	}

	@Column(name = "doc_create_time",  length = 19) 
	public String getDocCreateTime() {
		return docCreateTime;
	}

	public void setDocCreateTime(String docCreateTime) {
		this.docCreateTime = docCreateTime;
	}

	@Column(name = "doc_lastor",  length = 36)
	public String getDocLastor() {
		return docLastor;
	}

	public void setDocLastor(String docLastor) {
		this.docLastor = docLastor;
	}

	@Column(name = "doc_last_time",  length = 19)
	public String getDocLastTime() {
		return docLastTime;
	}

	public void setDocLastTime(String docLastTime) {
		this.docLastTime = docLastTime;
	}
}